package net.oschina.app.protocol;

import net.oschina.app.base.BaseProtocol;
import net.oschina.app.bean.GeneralBlogDetailBean;

import retrofit2.Call;

/**
 * Created by wei03 on 2017/1/16.
 */

public class DetailNewsBlogProtocol extends BaseProtocol<GeneralBlogDetailBean> {
    private int id;

    public DetailNewsBlogProtocol(int id) {
        this.id = id;
    }

    @Override
    protected Call getCall(String pageIndex) {
        return mApiService.getGeneralBlogDetailBean(id);
    }
}
